<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">

<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />

<title>后台管理</title>
</head>

<body class="body_ifm">

	<div class="infoboxp">
		
		<div class="admin_new_tip">
			<a href="javascript:;" class="admin_new_tip_close"></a>
			<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
			
			<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
			<div class="admin_new_tip_list_cont">
				<div class="admin_new_tip_list">该页面展示了业务员【{yun:}$aname{/yun}】所有的客户。</div>
			</div>
		</div>

		<div class="table-list">
			<div class="admin_table_border">
				
				<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
				
				<form action="index.php"  target="supportiframe" name="myform" method="get" id='myform'>
				
					<table width="100%">
						<thead>
							<tr class="admin_table_top">
								<th align="center" style="5%">企业id</th>
								<th align="left" style="width:30%;">企业名称</th>
								<th align="left">联系人</th>
								<th align="left">联系手机</th>
								<th align="left">关怀状态</th>
							</tr>
						</thead>

						<tbody>
							{yun:}foreach item=v key=key from=$company{/yun}
								<tr {yun:}if ($key+1)%2=='0'{/yun}class="admin_com_td_bg"{yun:}/if{/yun} id="list{yun:}$v.uid{/yun}">
									<td align="center" class="td1" style="width:5%;">{yun:}$v.uid{/yun}</td>
									<td align="left" style="width:30%;">{yun:}$v.name{/yun}</td>
									<td>{yun:}$v.linkman{/yun}</td>
									<td>{yun:}$v.linktel{/yun}</td>
									<td>
										{yun:}if $v.crm_status == 0{/yun}未关怀
										{yun:}else if $v.crm_status == 1{/yun}等待客户反馈
										{yun:}else if $v.crm_status == 2{/yun}已付费
										{yun:}else if $v.crm_status == 3{/yun}拒绝付费
										{yun:}else if $v.crm_status == 4{/yun}可能付费，需要再回访
										{yun:}/if{/yun}
									</td>
								</tr>
							{yun:}/foreach{/yun}

							{yun:}if $total > $config.sy_listnum {/yun}
								<tr>
									{yun:}if $pagenum==1{/yun}
										<td colspan="3"> 从 1 到 {yun:}$config.sy_listnum {/yun} ，总共 {yun:}$total{/yun} 条</td>
									{yun:}else if $pagenum > 1 && $pagenum < $pages{/yun}
										<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$pagenum * $config.sy_listnum{/yun} ，总共 {yun:}$total{/yun} 条</td>
									{yun:}else if $pagenum == $pages{/yun}
										<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$total{/yun} ，总共 {yun:}$total{/yun} 条</td>
									{yun:}/if{/yun}
									<td colspan="2" class="digg">{yun:}$pagenav{/yun}</td>
								</tr>
							{yun:}/if{/yun}
						</tbody>
					</table>
					<input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
				</form>
			</div>
		</div>
	</div>

	<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
	<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
	
	<script>

		layui.use(['layer', 'form'], function(){
			var layer = layui.layer
				,form = layui.form
				,$ = layui.$;
		});

	</script>

</body>
</html>
